<?php
/**
 * The template for displaying Tag pages
 *
 * Used to display archive-type pages for posts in a tag.
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */


$link = get_permalink();
$title = get_the_title(); //the_title
// 
?>

<div id="divbox" class="divbox">
	<div id="divimage" class="divimage">
	
		<div class="overlay">
			<a class="btn btn-danger btn_order" href="<?php echo get_permalink(get_page_id("order-cart"))."?goodsid=123";?>">ĐẶT HÀNG</a>

		</div>
		<?php echo "<a href='{$link}' class='vid-play'>";?>
			<?php
			the_post_thumbnail("thumbnail","class=image-crop"); ?>
		</a>
	</div>
	<div id="divtitle" class="divtitle">
		<?php echo "<a href='{$link}' class='vid-play'>$title</a>";?>
	</div>
	<div id="divmoney" class="divmoney">
	</div>

</div>
					
					
<?php
//get_sidebar( 'content' );
// get_sidebar();
// get_footer();
